package com.zbl.singleDemo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author zbl1997
 * @date 2022/1/19
 * @desc
 */
public class LogTest {
    private static final Logger logger = LoggerFactory.getLogger(LogTest.class);

    public static void main(String[] args) throws Exception {
        if (logger.isDebugEnabled()) {
            logger.debug("debug...");
        }
        String str = "";
        System.out.println(str.lastIndexOf("kjl"));
    }


}
